package common.countClass;

import common.Node;

import java.util.HashMap;
import java.util.HashSet;
import java.util.Vector;

public class firstCountLine {
    public int id;
    public int predicate;
    public Vector<Integer> count;
    public HashMap<String, common.countClass.historyHalfLine> history;  //id vector

    public firstCountLine() {
        this.count = new Vector<>();
        this.history = new HashMap<>();
    }

    ;

    public firstCountLine(int id, int predicate) {
        this.id = id;
        this.predicate = predicate;
        Vector<Integer> c = new Vector<>();
        c.add(0);
        this.count = new Vector<>(c);
        this.history = new HashMap<>(); //空的
    }

    public firstCountLine(int id, int predicate, Vector<Integer> count) {
        this.id = id;
        this.predicate = predicate;
        this.count = count;
        this.history = new HashMap<>(); //空的
    }

    public firstCountLine(int id, int predicate, Vector<Integer> count, HashMap<String, common.countClass.historyHalfLine> history) {
        this.id = id;
        this.predicate = predicate;
        this.count = count;
        this.history = new HashMap<>(history); //空的
    }


}
